package com.zx.mes.hyl.properties;

import lombok.Getter;
import lombok.Setter;

/**
 * rabbitmq queue 配置项
 * @author 华云龙
 * @date 2018-8-7
 */
@Getter
@Setter
public class RabbitmqQueueProperties {

    /**
     * 队列名称(要求唯一)
     */
    private String queue = "";

    /**
     * 队列是否为持久化,默认为false
     */
    private boolean durable = RabbitmqConstants.DEFAULT_RABBIT_MQ_QUEUE_DURABLE;

    /**
     * 队列 与 交换机绑定的key
     */
    private String key;
}
